package cn.cq.admin.entity.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import lombok.Data;

/**
 * 操作日志表
 * @TableName t_operation_log
 */
@TableName(value ="t_operation_log")
@Data
public class TOperationLog extends BaseModel implements Serializable {
    /**
     * 用户Id
     */
    @TableField(value = "user_id")
    private Long userId;

    /**
     * 操作类型
     */
    @TableField(value = "type")
    private String type;

    /**
     * 操作描述
     */
    @TableField(value = "description")
    private String description;

    /**
     * 操作模块
     */
    @TableField(value = "module")
    private String module;

    /**
     * 操作结果
     */
    @TableField(value = "result")
    private String result;

    /**
     * IP地址
     */
    @TableField(value = "ip")
    private String ip;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}
